<?php
/**
* @version 1.0.0
* @package RSSearch! 1.0.0
* @copyright (C) 2011 www.rsjoomla.com
* @license GPL, http://www.gnu.org/licenses/gpl-2.0.html
*/
defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.model');

class RssearchModelRssearch extends JModel
{
	var $_db;
	function __construct()
	{
		parent::__construct();
	}
	function getModuleId()
	{
		$db=JFactory::getDBO();
		$db->setQuery("SELECT `id` FROM `#__modules` WHERE `module` = 'mod_rssearch'");
		$module_id = $db-> loadResult();
		return $module_id;
	}
}